//
//  ResponseDictionary.swift
//  WeiBo test
//
//  Created by Aquarius_wing on 16/5/7.
//  Copyright © 2016年 Wing. All rights reserved.
//

import UIKit

class ResponseDictionary: NSObject {
//    var has_unread:NSNumber?
//    var hasvisible:NSNumber?
//    var max_id:NSNumber?
//    var next_cursor:NSNumber?
//    var previous_cursor:NSNumber?
//    var since_id:NSNumber?
    var statuses:NSArray?
    var total_number:NSNumber?
    var uve_blank:String?
    
    init(dict : [String:AnyObject]) {
        super.init()
        setValuesForKeysWithDictionary(dict)
    }
    override func setValue(value: AnyObject?, forUndefinedKey key: String) {    }
    
    //要使打印该类为字符串
    override var description: String{
        let keys=["has_unread","hasvisible","max_id","next_cursor","previous_cursor","since_id","statuses","total_number","uve_blank"]
        
        return dictionaryWithValuesForKeys(keys).description
    }
}
